Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::spirit::x3::attr_parser< Value[N]> Struct Template Reference

#include <attr.hpp>

Inheritance diagram for boost::spirit::x3::attr_parser< Value[N]>:
Collaboration diagram for boost::spirit::x3::attr_parser< Value[N]>:

Public Types

typedef Value attribute_type [N]
 
typedef attr_parser< Value[N]> derived_type
 

Public Member Functions

 attr_parser (Value const (&value)[N])
 
 attr_parser (Value(&&value)[N])
 
template<typename Iterator , typename Context , typename RuleContext , typename Attribute >
bool parse (Iterator &first, Iterator const &last, Context const &context, RuleContext &, Attribute &attr_) const
 
attr_parser< Value[N]>const & derived () const
 
action< attr_parser< Value[N]>
, Action > 
operator[] (Action f) const
 
guard< attr_parser< Value[N]>
, Handler > 
on_error (Handler f) const
 

Public Attributes

Value value_ [N]
 

Static Public Attributes

static bool const has_attribute
 
static bool const handles_container = true
 
static bool const is_pass_through_unary
 
static bool const has_action
 

Member Typedef Documentation

template<typename Value , std::size_t N>
typedef Value boost::spirit::x3::attr_parser< Value[N]>::attribute_type[N]
typedef attr_parser< Value[N]> boost::spirit::x3::parser< attr_parser< Value[N]> >::derived_type
inherited

Constructor & Destructor Documentation

template<typename Value , std::size_t N>
boost::spirit::x3::attr_parser< Value[N]>::attr_parser ( Value const (&)  value[N])
inline
template<typename Value , std::size_t N>
boost::spirit::x3::attr_parser< Value[N]>::attr_parser ( Value(&&)  value[N])
inline

Member Function Documentation

attr_parser< Value[N]> const& boost::spirit::x3::parser< attr_parser< Value[N]> >::derived ( ) const
inlineinherited
guard<attr_parser< Value[N]> , Handler> boost::spirit::x3::parser< attr_parser< Value[N]> >::on_error ( Handler  f) const
inlineinherited
action<attr_parser< Value[N]> , Action> boost::spirit::x3::parser< attr_parser< Value[N]> >::operator[] ( Action  f) const
inlineinherited
template<typename Value , std::size_t N>
template<typename Iterator , typename Context , typename RuleContext , typename Attribute >
bool boost::spirit::x3::attr_parser< Value[N]>::parse ( Iterator &  first,
Iterator const &  last,
Context const &  context,
RuleContext &  ,
Attribute &  attr_ 
) const
inline

Member Data Documentation

template<typename Value , std::size_t N>
bool const boost::spirit::x3::attr_parser< Value[N]>::handles_container = true
static
bool const boost::spirit::x3::parser< attr_parser< Value[N]> >::has_action
staticinherited
template<typename Value , std::size_t N>
bool const boost::spirit::x3::attr_parser< Value[N]>::has_attribute
static
bool const boost::spirit::x3::parser< attr_parser< Value[N]> >::is_pass_through_unary
staticinherited
template<typename Value , std::size_t N>
Value boost::spirit::x3::attr_parser< Value[N]>::value_[N]

The documentation for this struct was generated from the following file: